package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部长信息对象 minister
 * 
 * @author ruoyi
 * @date 2025-07-01
 */
public class Minister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 部长主键ID */
    private Long ministerId;

    /** 部长姓名 */
    @Excel(name = "部长姓名")
    private String ministerName;

    /** 所属部门ID */
    @Excel(name = "所属部门ID")
    private Long departmentId;

    @Excel
    private String departmentName;

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    public void setMinisterId(Long ministerId) 
    {
        this.ministerId = ministerId;
    }

    public Long getMinisterId() 
    {
        return ministerId;
    }

    public void setMinisterName(String ministerName) 
    {
        this.ministerName = ministerName;
    }

    public String getMinisterName() 
    {
        return ministerName;
    }

    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ministerId", getMinisterId())
            .append("ministerName", getMinisterName())
            .append("departmentId", getDepartmentId())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .toString();
    }
}
